﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SchoolManagementSystem.GUI
{
    public partial class PrincipalViewClass : SchoolManagementSystem.SuperForm1
    {
        public PrincipalViewClass()
        {
            InitializeComponent();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (listBox1.SelectedItem == null) {
                MessageBox.Show("Select a class please");
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            TeacherRegisterView classRegister = new TeacherRegisterView();
            classRegister.Show();
            
        }

        private void button3_Click(object sender, EventArgs e)
        {
            TeacherClassTimeTableView timeTable = new TeacherClassTimeTableView();
            timeTable.Show();
        }
    }
}
